<?php
include($classes_path.'/class.slideViewer.php');
$rowName = "featured_img";
$path = DATA_PATH."/images/posts/featured_slider";
$gallery = new slideViewer();
$slideviewer = $gallery->get_gallery($rowName, null, $path);
?>

<div id="myGallery" class="svw">
    <ul>
        <?php foreach($slideviewer as $item) { ?>
        <li>
            <div class="featured-meta-data"><?php print($item['summary'].$item['dots']); ?></div>
            <a href="page/2/news/article/<?php print($item['id'].'/'.htmlentities(strtolower(str_replace(" ", "-", $item['title']))).URL_EXTENSION); ?>"><img src="<?php print($path.'/'.$item['image']); ?>" title="<?php print($item['title']); ?>" alt="<?php print($item['title']); ?>" /></a>
        </li>
        <?php
        }
        ?>
    </ul>
</div>